package com.ruoyi.web.controller.TiebaForums.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 贴吧管理对象 tieba_forums
 *
 * @author yong
 * @date 2025-03-09
 */
@Data
@ToString
@NoArgsConstructor
@Accessors(chain = true)
@TableName("tieba_forums")
@ApiModel(value = "TiebaForums", description = "贴吧管理实体")
public class TiebaForums extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(type= IdType.AUTO)
    @ApiModelProperty("$column.columnComment")
    private Long id;

    /** 贴吧名字 */
    @Excel(name = "贴吧名字")
    @ApiModelProperty("贴吧名字")
    private String name;

    /** 贴吧描述情况 */
    @Excel(name = "贴吧描述情况")
    @ApiModelProperty("贴吧描述情况")
    private String description;

    /** 贴吧头像 */
    @Excel(name = "贴吧头像")
    @ApiModelProperty("贴吧头像")
    private String imageUrl;

    /** 关注数量 */
    @Excel(name = "关注数量")
    @ApiModelProperty("关注数量")
    private Long guanzhuCount;

    /** 帖子数量 */
    @Excel(name = "帖子数量")
    @ApiModelProperty("帖子数量")
    private Long forumsCount;

    /** 用户id */
    @Excel(name = "用户id")
    @ApiModelProperty("用户id")
    private Long userId;

    /** 部门id */
    @Excel(name = "部门id")
    @ApiModelProperty("部门id")
    private Long deptId;

    /** 吧主名字 */
    @Excel(name = "吧主名字")
    @ApiModelProperty("吧主名字")
    private String bazhuName;

    /** $column.columnComment */
    @ApiModelProperty("$column.columnComment")
    private Integer delFlag;

}
